package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data //相当于生成了get和set方法
@AllArgsConstructor //有参构造
@NoArgsConstructor //无参构造
public class User {
    private int id;

    private String name;

    private String password;

    private int age;

    private String gender;

    private Date birthday;

}
